projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
825612b
)
linkbutton: Port to GdkClipboard
author
Benjamin Otte
<otte@redhat.com>
Sun, 26 Nov 2017 06:38:12 +0000
(07:38 +0100)
committer
Benjamin Otte
<otte@redhat.com>
Sun, 3 Dec 2017 04:46:48 +0000
(
05:46
+0100)
gtk/gtklinkbutton.c
patch
|
blob
|
history
diff --git
a/gtk/gtklinkbutton.c
b/gtk/gtklinkbutton.c
index 7ff83262d493eb1320fb1c1906911987ee4226db..489178a381cce5093c4930a9ad8be5ce92fb1e70 100644
(file)
--- a/
gtk/gtklinkbutton.c
+++ b/
gtk/gtklinkbutton.c
@@
-55,7
+55,6
@@
#include <string.h>
-#include "gtkclipboard.h"
#include "gtkdnd.h"
#include "gtklabel.h"
#include "gtkmain.h"
@@
-332,9
+331,8
@@
copy_activate_cb (GtkWidget *widget,
{
GtkLinkButtonPrivate *priv = link_button->priv;
- gtk_clipboard_set_text (gtk_widget_get_old_clipboard (GTK_WIDGET (link_button),
- GDK_SELECTION_CLIPBOARD),
- priv->uri, -1);
+ gdk_clipboard_set_text (gtk_widget_get_clipboard (GTK_WIDGET (link_button)),
+ priv->uri);
}
static void